<?php
/*
* @Descripttion: 测试插件
* @Author: jiosen <4631458@qq.com>
* @Date: 2024-06-18 15:57:31
*/
namespace plugins\zaobao;

use plugins\Base;

class Main extends Base
{
    // 插件信息
    public $config = [
        'title'       => '每日早报', // 标题
        'img'       => 'https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png', // 封面
        // 'description' => '测试插件 回复早报图片', // 描述
        'setting'      => 0, // 是否有配置
        'author'      => 'jiosen',
        'tag' => [
            ['title'=>'60s读懂世界','type'=>'primary'],
            ['title'=>'没配置哦','type'=>'error'],
        ]
    ];

    public function handle($data)
    {
        return 'test';
    }
}